package ccrClasses.layer2;

import ccrClasses.ICcr;

public class Unit implements ICcr {
	
	public final static String OPEN_TAG = "<Unit>";

	public final static String CLOSE_TAG = "</Unit>";
	
	private String value;
	
	public Unit(String value) {
		super();
		this.setValue(value);
	}

	public Unit() {
		super();
	}

	@Override
	public String constructCcrString() {
		return new String(OPEN_TAG + value + CLOSE_TAG);
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}



	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

}
